home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 7 / CD FunHouse 7 For The Macintosh (Wayzata)(1992).iso / • Adventureland • / • World Builder • / Haunted House 1.5 •••• / Haunted House 1.5 ееее.rsrc / WDEF_32.txt < prev    next >
Text File  |  1989-02-18  |  21KB  |  364 lines

  1. start:
  2. 00000000  4E56 0000                link       A6, 0
  3. 00000004  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  4. 00000008  246E 000E                movea.l    A2, [A6 + 0xE]
  5. 0000000C  49FA 04F4                lea.l      A4, [PC + 0x4F4 /* 00000502, value 0x0, cstring "" */]
  6. 00000010  47FA 04E8                lea.l      A3, [PC + 0x4E8 /* 000004FA, value 0x0, cstring "" */]
  7. 00000014  302E 000C                move.w     D0, [A6 + 0xC]
  8. 00000018  6700 001E                beq        +0x20 /* 00000038 */
  9. 0000001C  0C40 0001                cmpi.w     D0, 0x1
  10. 00000020  6700 0192                beq        +0x194 /* 000001B4 */
  11. 00000024  0C40 0002                cmpi.w     D0, 0x2
  12. 00000028  6700 01FE                beq        +0x200 /* 00000228 */
  13. 0000002C  0C40 0005                cmpi.w     D0, 0x5
  14. 00000030  6700 02B4                beq        +0x2B6 /* 000002E6 */
  15. 00000034  4EFA 0308                jmp        [PC + 0x308 /* 0000033E */]
  16. label00000038:
  17. 00000038  102A 006E                move.b     D0, [A2 + 0x6E]
  18. 0000003C  6700 0300                beq        +0x302 /* 0000033E */
  19. 00000040  4EBA 0468                jsr        [PC + 0x468 /* 000004AA */]
  20. 00000044  0C2E 0004 000B           cmpi.b     [A6 + 0xB], 0x4
  21. 0000004A  6700 0154                beq        +0x156 /* 000001A0 */
  22. 0000004E  4AAE 0008                tst.l      [A6 + 0x8]
  23. 00000052  6600 02EA                bne        +0x2EC /* 0000033E */
  24. 00000056  4EBA 0372                jsr        [PC + 0x372 /* 000003CA */]
  25. 0000005A  4EBA 048A                jsr        [PC + 0x48A /* 000004E6 */]
  26. 0000005E  4EBA 047C                jsr        [PC + 0x47C /* 000004DC */]
  27. 00000062  4A2A 006F                tst.b      [A2 + 0x6F]
  28. 00000066  6700 000E                beq        +0x10 /* 00000076 */
  29. 0000006A  566C 0000                addq.w     [A4 + 0x0], 3
  30. 0000006E  576C 0004                subq.w     [A4 + 0x4], 3
  31. 00000072  4EBA 047C                jsr        [PC + 0x47C /* 000004F0 */]
  32. label00000076:
  33. 00000076  082E 0001 0013           btst.b     [A6 + 0x13], 0x1
  34. 0000007C  6600 0022                bne        +0x24 /* 000000A0 */
  35. 00000080  4EBA 036E                jsr        [PC + 0x36E /* 000003F0 */]
  36. 00000084  4EBA 0460                jsr        [PC + 0x460 /* 000004E6 */]
  37. 00000088  4EBA 0452                jsr        [PC + 0x452 /* 000004DC */]
  38. 0000008C  4A2A 006F                tst.b      [A2 + 0x6F]
  39. 00000090  6700 000E                beq        +0x10 /* 000000A0 */
  40. 00000094  566C 0000                addq.w     [A4 + 0x0], 3
  41. 00000098  576C 0004                subq.w     [A4 + 0x4], 3
  42. 0000009C  4EBA 0452                jsr        [PC + 0x452 /* 000004F0 */]
  43. label000000A0:
  44. 000000A0  082E 0002 0013           btst.b     [A6 + 0x13], 0x2
  45. 000000A6  6700 005A                beq        +0x5C /* 00000102 */
  46. 000000AA  4EBA 0392                jsr        [PC + 0x392 /* 0000043E */]
  47. 000000AE  4EBA 0436                jsr        [PC + 0x436 /* 000004E6 */]
  48. 000000B2  4EBA 0428                jsr        [PC + 0x428 /* 000004DC */]
  49. 000000B6  302C 0002                move.w     D0, [A4 + 0x2]
  50. 000000BA  916C 0006                sub.w      [A4 + 0x6], D0
  51. 000000BE  046C 000A 0006           subi.w     [A4 + 0x6], 0xA /* '\n' */
  52. 000000C4  4243                     clr.w      D3
  53. 000000C6  246A 0086                movea.l    A2, [A2 + 0x86]
  54. 000000CA  2052                     movea.l    A0, [A2]
  55. 000000CC  1610                     move.b     D3, [A0]
  56. label000000CE:
  57. 000000CE  4267                     clr.w      -[A7]
  58. 000000D0  2F12                     move.l     -[A7], [A2]
  59. 000000D2  3F3C 0001                move.w     -[A7], 0x1
  60. 000000D6  3F03                     move.w     -[A7], D3
  61. 000000D8  A886                     syscall    TextWidth
  62. 000000DA  301F                     move.w     D0, [A7]+
  63. 000000DC  B06C 0006                cmp.w      D0, [A4 + 0x6]
  64. 000000E0  5FCB FFEC                dble       D3, -0x16 /* 000000CE */
  65. 000000E4  2F2C 0000                move.l     -[A7], [A4 + 0x0]
  66. 000000E8  066F 000D 0000           addi.w     [A7 + 0x0], 0xD /* '\r' */
  67. 000000EE  5A6F 0002                addq.w     [A7 + 0x2], 5
  68. 000000F2  A893                     syscall    MoveTo
  69. 000000F4  2F12                     move.l     -[A7], [A2]
  70. 000000F6  3F3C 0001                move.w     -[A7], 0x1
  71. 000000FA  3F03                     move.w     -[A7], D3
  72. 000000FC  A885                     syscall    DrawText
  73. 000000FE  246E 000E                movea.l    A2, [A6 + 0xE]
  74. label00000102:
  75. 00000102  4EBA 0300                jsr        [PC + 0x300 /* 00000404 */]
  76. 00000106  4EBA 03DE                jsr        [PC + 0x3DE /* 000004E6 */]
  77. 0000010A  4EBA 03D0                jsr        [PC + 0x3D0 /* 000004DC */]
  78. 0000010E  4A2A 006F                tst.b      [A2 + 0x6F]
  79. 00000112  6700 000E                beq        +0x10 /* 00000122 */
  80. 00000116  566C 0002                addq.w     [A4 + 0x2], 3
  81. 0000011A  576C 0006                subq.w     [A4 + 0x6], 3
  82. 0000011E  4EBA 03D0                jsr        [PC + 0x3D0 /* 000004F0 */]
  83. label00000122:
  84. 00000122  082E 0000 0013           btst.b     [A6 + 0x13], 0x0
  85. 00000128  6600 0022                bne        +0x24 /* 0000014C */
  86. 0000012C  4EBA 02FC                jsr        [PC + 0x2FC /* 0000042A */]
  87. 00000130  4EBA 03B4                jsr        [PC + 0x3B4 /* 000004E6 */]
  88. 00000134  4EBA 03A6                jsr        [PC + 0x3A6 /* 000004DC */]
  89. 00000138  4A2A 006F                tst.b      [A2 + 0x6F]
  90. 0000013C  6700 000E                beq        +0x10 /* 0000014C */
  91. 00000140  566C 0002                addq.w     [A4 + 0x2], 3
  92. 00000144  576C 0006                subq.w     [A4 + 0x6], 3
  93. 00000148  4EBA 03A6                jsr        [PC + 0x3A6 /* 000004F0 */]
  94. label0000014C:
  95. 0000014C  4EBA 0212                jsr        [PC + 0x212 /* 00000360 */]
  96. 00000150  4EBA 0394                jsr        [PC + 0x394 /* 000004E6 */]
  97. 00000154  4EBA 0386                jsr        [PC + 0x386 /* 000004DC */]
  98. 00000158  4EBA 0228                jsr        [PC + 0x228 /* 00000382 */]
  99. 0000015C  4EBA 0388                jsr        [PC + 0x388 /* 000004E6 */]
  100. 00000160  4EBA 037A                jsr        [PC + 0x37A /* 000004DC */]
  101. 00000164  4EBA 0234                jsr        [PC + 0x234 /* 0000039A */]
  102. 00000168  4EBA 037C                jsr        [PC + 0x37C /* 000004E6 */]
  103. 0000016C  4EBA 036E                jsr        [PC + 0x36E /* 000004DC */]
  104. 00000170  4EBA 0240                jsr        [PC + 0x240 /* 000003B2 */]
  105. 00000174  4EBA 0370                jsr        [PC + 0x370 /* 000004E6 */]
  106. 00000178  4EBA 0362                jsr        [PC + 0x362 /* 000004DC */]
  107. 0000017C  4A2A 0070                tst.b      [A2 + 0x70]
  108. 00000180  6700 01BC                beq        +0x1BE /* 0000033E */
  109. 00000184  4A2A 006F                tst.b      [A2 + 0x6F]
  110. 00000188  6700 01B4                beq        +0x1B6 /* 0000033E */
  111. 0000018C  4EBA 01D2                jsr        [PC + 0x1D2 /* 00000360 */]
  112. 00000190  303C 0005                move.w     D0, 0x5
  113. 00000194  4EBA 01B8                jsr        [PC + 0x1B8 /* 0000034E */]
  114. 00000198  4EBA 0342                jsr        [PC + 0x342 /* 000004DC */]
  115. 0000019C  4EFA 01A0                jmp        [PC + 0x1A0 /* 0000033E */]
  116. label000001A0:
  117. 000001A0  4EBA 01BE                jsr        [PC + 0x1BE /* 00000360 */]
  118. 000001A4  303C 0005                move.w     D0, 0x5
  119. 000001A8  4EBA 01A4                jsr        [PC + 0x1A4 /* 0000034E */]
  120. 000001AC  4EBA 0342                jsr        [PC + 0x342 /* 000004F0 */]
  121. 000001B0  4EFA 018C                jmp        [PC + 0x18C /* 0000033E */]
  122. label000001B4:
  123. 000001B4  2D7C 0000 0002 0014      move.l     [A6 + 0x14], 0x2
  124. 000001BC  4267                     clr.w      -[A7]
  125. 000001BE  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  126. 000001C2  2F2A 0076                move.l     -[A7], [A2 + 0x76]
  127. 000001C6  A8E8                     syscall    PtInRgn
  128. 000001C8  101F                     move.b     D0, [A7]+
  129. 000001CA  6600 003E                bne        +0x40 /* 0000020A */
  130. 000001CE  4A2A 006F                tst.b      [A2 + 0x6F]
  131. 000001D2  6700 016A                beq        +0x16C /* 0000033E */
  132. 000001D6  4EBA 02D2                jsr        [PC + 0x2D2 /* 000004AA */]
  133. 000001DA  4EBA 0184                jsr        [PC + 0x184 /* 00000360 */]
  134. 000001DE  303C 0005                move.w     D0, 0x5
  135. 000001E2  4EBA 016A                jsr        [PC + 0x16A /* 0000034E */]
  136. 000001E6  4EBA 02E6                jsr        [PC + 0x2E6 /* 000004CE */]
  137. 000001EA  6600 0028                bne        +0x2A /* 00000214 */
  138. 000001EE  303C FFFB                move.w     D0, 0xFFFB
  139. 000001F2  4EBA 015A                jsr        [PC + 0x15A /* 0000034E */]
  140. 000001F6  4EBA 018A                jsr        [PC + 0x18A /* 00000382 */]
  141. 000001FA  4EBA 019E                jsr        [PC + 0x19E /* 0000039A */]
  142. 000001FE  4EBA 02CE                jsr        [PC + 0x2CE /* 000004CE */]
  143. 00000202  6600 001A                bne        +0x1C /* 0000021E */
  144. 00000206  4EFA 0136                jmp        [PC + 0x136 /* 0000033E */]
  145. label0000020A:
  146. 0000020A  1D7C 0001 0017           move.b     [A6 + 0x17], 0x1
  147. 00000210  4EFA 012C                jmp        [PC + 0x12C /* 0000033E */]
  148. label00000214:
  149. 00000214  1D7C 0004 0017           move.b     [A6 + 0x17], 0x4
  150. 0000021A  4EFA 0122                jmp        [PC + 0x122 /* 0000033E */]
  151. label0000021E:
  152. 0000021E  1D7C 0003 0017           move.b     [A6 + 0x17], 0x3
  153. 00000224  4EFA 0118                jmp        [PC + 0x118 /* 0000033E */]
  154. label00000228:
  155. 00000228  4EBA 0280                jsr        [PC + 0x280 /* 000004AA */]
  156. 0000022C  2F2A 0076                move.l     -[A7], [A2 + 0x76]
  157. 00000230  A8D9                     syscall    DisposRgn/DisposeRgn
  158. 00000232  42A7                     clr.l      -[A7]
  159. 00000234  A8D8                     syscall    NewRgn
  160. 00000236  255F 0076                move.l     [A2 + 0x76], [A7]+
  161. 0000023A  A8DA                     syscall    OpenRgn
  162. 0000023C  296B 0000 0000           move.l     [A4 + 0x0], [A3 + 0x0]
  163. 00000242  296B 0004 0004           move.l     [A4 + 0x4], [A3 + 0x4]
  164. 00000248  066C 000E 0000           addi.w     [A4 + 0x0], 0xE
  165. 0000024E  066C 000E 0002           addi.w     [A4 + 0x2], 0xE
  166. 00000254  082E 0000 0013           btst.b     [A6 + 0x13], 0x0
  167. 0000025A  6600 0008                bne        +0xA /* 00000264 */
  168. 0000025E  046C 000E 0006           subi.w     [A4 + 0x6], 0xE
  169. label00000264:
  170. 00000264  082E 0001 0013           btst.b     [A6 + 0x13], 0x1
  171. 0000026A  6600 0008                bne        +0xA /* 00000274 */
  172. 0000026E  046C 000E 0004           subi.w     [A4 + 0x4], 0xE
  173. label00000274:
  174. 00000274  4EBA 0266                jsr        [PC + 0x266 /* 000004DC */]
  175. 00000278  2F2A 0076                move.l     -[A7], [A2 + 0x76]
  176. 0000027C  A8DB                     syscall    CloseRgn
  177. 0000027E  2F2A 0072                move.l     -[A7], [A2 + 0x72]
  178. 00000282  487A 0276                pea.l      [PC + 0x276 /* 000004FA, value 0x0, cstring "" */]
  179. 00000286  A8DF                     syscall    RectRgn
  180. 00000288  42A7                     clr.l      -[A7]
  181. 0000028A  A8D8                     syscall    NewRgn
  182. 0000028C  261F                     move.l     D3, [A7]+
  183. 0000028E  A8DA                     syscall    OpenRgn
  184. 00000290  4EBA 00CE                jsr        [PC + 0xCE /* 00000360 */]
  185. 00000294  4EBA 0246                jsr        [PC + 0x246 /* 000004DC */]
  186. 00000298  4EBA 00E8                jsr        [PC + 0xE8 /* 00000382 */]
  187. 0000029C  4EBA 023E                jsr        [PC + 0x23E /* 000004DC */]
  188. 000002A0  4EBA 00F8                jsr        [PC + 0xF8 /* 0000039A */]
  189. 000002A4  4EBA 0236                jsr        [PC + 0x236 /* 000004DC */]
  190. 000002A8  4EBA 0108                jsr        [PC + 0x108 /* 000003B2 */]
  191. 000002AC  4EBA 022E                jsr        [PC + 0x22E /* 000004DC */]
  192. 000002B0  082E 0002 0013           btst.b     [A6 + 0x13], 0x2
  193. 000002B6  6700 000A                beq        +0xC /* 000002C2 */
  194. 000002BA  4EBA 0182                jsr        [PC + 0x182 /* 0000043E */]
  195. 000002BE  4EBA 021C                jsr        [PC + 0x21C /* 000004DC */]
  196. label000002C2:
  197. 000002C2  2F03                     move.l     -[A7], D3
  198. 000002C4  A8DB                     syscall    CloseRgn
  199. 000002C6  2F2A 0072                move.l     -[A7], [A2 + 0x72]
  200. 000002CA  2F03                     move.l     -[A7], D3
  201. 000002CC  2F2A 0072                move.l     -[A7], [A2 + 0x72]
  202. 000002D0  A8E5                     syscall    UnionRgn
  203. 000002D2  2F2A 0076                move.l     -[A7], [A2 + 0x76]
  204. 000002D6  2F03                     move.l     -[A7], D3
  205. 000002D8  2F2A 0076                move.l     -[A7], [A2 + 0x76]
  206. 000002DC  A8E6                     syscall    DiffRgn
  207. 000002DE  2F03                     move.l     -[A7], D3
  208. 000002E0  A8D9                     syscall    DisposRgn/DisposeRgn
  209. 000002E2  4EFA 005A                jmp        [PC + 0x5A /* 0000033E */]
  210. label000002E6:
  211. 000002E6  286E 0008                movea.l    A4, [A6 + 0x8]
  212. 000002EA  302C 0006                move.w     D0, [A4 + 0x6]
  213. 000002EE  906C 0002                sub.w      D0, [A4 + 0x2]
  214. 000002F2  0C40 0040                cmpi.w     D0, 0x40 /* '@' */
  215. 000002F6  6A00 000E                bpl        +0x10 /* 00000306 */
  216. 000002FA  396C 0002 0006           move.w     [A4 + 0x6], [A4 + 0x2]
  217. 00000300  066C 0040 0006           addi.w     [A4 + 0x6], 0x40 /* '@' */
  218. label00000306:
  219. 00000306  302C 0004                move.w     D0, [A4 + 0x4]
  220. 0000030A  906C 0000                sub.w      D0, [A4 + 0x0]
  221. 0000030E  0C40 0040                cmpi.w     D0, 0x40 /* '@' */
  222. 00000312  6A00 000E                bpl        +0x10 /* 00000322 */
  223. 00000316  396C 0000 0004           move.w     [A4 + 0x4], [A4 + 0x0]
  224. 0000031C  066C 0040 0004           addi.w     [A4 + 0x4], 0x40 /* '@' */
  225. label00000322:
  226. 00000322  4EBA 01B8                jsr        [PC + 0x1B8 /* 000004DC */]
  227. 00000326  303C 000E                move.w     D0, 0xE
  228. 0000032A  4EBA 0022                jsr        [PC + 0x22 /* 0000034E */]
  229. 0000032E  4EBA 01AC                jsr        [PC + 0x1AC /* 000004DC */]
  230. 00000332  303C FFF2                move.w     D0, 0xFFF2
  231. 00000336  4EBA 0016                jsr        [PC + 0x16 /* 0000034E */]
  232. 0000033A  4EFA 0002                jmp        [PC + 0x2 /* 0000033E */]
  233. label0000033E:
  234. 0000033E  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  235. 00000342  4E5E                     unlink     A6
  236. 00000344  205F                     movea.l    A0, [A7]+
  237. 00000346  DFFC 0000 000C           add.l      A7, 0xC
  238. 0000034C  4ED0                     jmp        [A0]
  239. fn0000034E:
  240. 0000034E  D16C 0000                add.w      [A4 + 0x0], D0
  241. 00000352  D16C 0002                add.w      [A4 + 0x2], D0
  242. 00000356  916C 0004                sub.w      [A4 + 0x4], D0
  243. 0000035A  916C 0006                sub.w      [A4 + 0x6], D0
  244. 0000035E  4E75                     rts
  245. fn00000360:
  246. 00000360  296B 0000 0000           move.l     [A4 + 0x0], [A3 + 0x0]
  247. 00000366  296B 0000 0004           move.l     [A4 + 0x4], [A3 + 0x0]
  248. 0000036C  556C 0000                subq.w     [A4 + 0x0], 2
  249. 00000370  556C 0002                subq.w     [A4 + 0x2], 2
  250. 00000374  066C 0010 0004           addi.w     [A4 + 0x4], 0x10
  251. 0000037A  066C 0010 0006           addi.w     [A4 + 0x6], 0x10
  252. 00000380  4E75                     rts
  253. fn00000382:
  254. 00000382  396B 0006 0002           move.w     [A4 + 0x2], [A3 + 0x6]
  255. 00000388  396B 0006 0006           move.w     [A4 + 0x6], [A3 + 0x6]
  256. 0000038E  046C 0010 0002           subi.w     [A4 + 0x2], 0x10
  257. 00000394  546C 0006                addq.w     [A4 + 0x6], 2
  258. 00000398  4E75                     rts
  259. fn0000039A:
  260. 0000039A  396B 0004 0000           move.w     [A4 + 0x0], [A3 + 0x4]
  261. 000003A0  396B 0004 0004           move.w     [A4 + 0x4], [A3 + 0x4]
  262. 000003A6  046C 0010 0000           subi.w     [A4 + 0x0], 0x10
  263. 000003AC  546C 0004                addq.w     [A4 + 0x4], 2
  264. 000003B0  4E75                     rts
  265. fn000003B2:
  266. 000003B2  396B 0002 0002           move.w     [A4 + 0x2], [A3 + 0x2]
  267. 000003B8  396B 0002 0006           move.w     [A4 + 0x6], [A3 + 0x2]
  268. 000003BE  556C 0002                subq.w     [A4 + 0x2], 2
  269. 000003C2  066C 0010 0006           addi.w     [A4 + 0x6], 0x10
  270. 000003C8  4E75                     rts
  271. fn000003CA:
  272. 000003CA  296B 0000 0000           move.l     [A4 + 0x0], [A3 + 0x0]
  273. 000003D0  396B 0000 0004           move.w     [A4 + 0x4], [A3 + 0x0]
  274. 000003D6  396B 0006 0006           move.w     [A4 + 0x6], [A3 + 0x6]
  275. 000003DC  066C 000F 0002           addi.w     [A4 + 0x2], 0xF
  276. 000003E2  066C 000E 0004           addi.w     [A4 + 0x4], 0xE
  277. 000003E8  046C 000F 0006           subi.w     [A4 + 0x6], 0xF
  278. 000003EE  4E75                     rts
  279. fn000003F0:
  280. 000003F0  396B 0004 0000           move.w     [A4 + 0x0], [A3 + 0x4]
  281. 000003F6  396B 0004 0004           move.w     [A4 + 0x4], [A3 + 0x4]
  282. 000003FC  046C 000E 0000           subi.w     [A4 + 0x0], 0xE
  283. 00000402  4E75                     rts
  284. fn00000404:
  285. 00000404  296B 0000 0000           move.l     [A4 + 0x0], [A3 + 0x0]
  286. 0000040A  396B 0004 0004           move.w     [A4 + 0x4], [A3 + 0x4]
  287. 00000410  396B 0002 0006           move.w     [A4 + 0x6], [A3 + 0x2]
  288. 00000416  066C 000F 0000           addi.w     [A4 + 0x0], 0xF
  289. 0000041C  046C 000F 0004           subi.w     [A4 + 0x4], 0xF
  290. 00000422  066C 000E 0006           addi.w     [A4 + 0x6], 0xE
  291. 00000428  4E75                     rts
  292. fn0000042A:
  293. 0000042A  396B 0006 0002           move.w     [A4 + 0x2], [A3 + 0x6]
  294. 00000430  396B 0006 0006           move.w     [A4 + 0x6], [A3 + 0x6]
  295. 00000436  046C 000E 0002           subi.w     [A4 + 0x2], 0xE
  296. 0000043C  4E75                     rts
  297. fn0000043E:
  298. 0000043E  396B 0000 0000           move.w     [A4 + 0x0], [A3 + 0x0]
  299. 00000444  556C 0000                subq.w     [A4 + 0x0], 2
  300. 00000448  396B 0000 0004           move.w     [A4 + 0x4], [A3 + 0x0]
  301. 0000044E  066C 0010 0004           addi.w     [A4 + 0x4], 0x10
  302. 00000454  302A 008A                move.w     D0, [A2 + 0x8A]
  303. 00000458  0640 002E                addi.w     D0, 0x2E /* '.' */
  304. 0000045C  322B 0006                move.w     D1, [A3 + 0x6]
  305. 00000460  926B 0002                sub.w      D1, [A3 + 0x2]
  306. 00000464  B240                     cmp.w      D1, D0
  307. 00000466  6A00 001C                bpl        +0x1E /* 00000484 */
  308. 0000046A  396B 0002 0002           move.w     [A4 + 0x2], [A3 + 0x2]
  309. 00000470  396B 0006 0006           move.w     [A4 + 0x6], [A3 + 0x6]
  310. 00000476  066C 0012 0002           addi.w     [A4 + 0x2], 0x12
  311. 0000047C  046C 0012 0006           subi.w     [A4 + 0x6], 0x12
  312. 00000482  4E75                     rts
  313. label00000484:
  314. 00000484  E249                     lsr        D1.w, 1
  315. 00000486  D26B 0002                add.w      D1, [A3 + 0x2]
  316. 0000048A  3941 0006                move.w     [A4 + 0x6], D1
  317. 0000048E  3941 0002                move.w     [A4 + 0x2], D1
  318. 00000492  0440 0024                subi.w     D0, 0x24 /* '$' */
  319. 00000496  E248                     lsr        D0.w, 1
  320. 00000498  6400 0006                bcc        +0x8 /* 000004A0 */
  321. 0000049C  526C 0006                addq.w     [A4 + 0x6], 1
  322. label000004A0:
  323. 000004A0  D16C 0006                add.w      [A4 + 0x6], D0
  324. 000004A4  916C 0002                sub.w      [A4 + 0x2], D0
  325. 000004A8  4E75                     rts
  326. fn000004AA:
  327. 000004AA  276A 0014 0004           move.l     [A3 + 0x4], [A2 + 0x14]
  328. 000004B0  302A 0008                move.w     D0, [A2 + 0x8]
  329. 000004B4  4440                     neg.w      D0
  330. 000004B6  322A 000A                move.w     D1, [A2 + 0xA]
  331. 000004BA  4441                     neg.w      D1
  332. 000004BC  3740 0000                move.w     [A3 + 0x0], D0
  333. 000004C0  3741 0002                move.w     [A3 + 0x2], D1
  334. 000004C4  D16B 0004                add.w      [A3 + 0x4], D0
  335. 000004C8  D36B 0006                add.w      [A3 + 0x6], D1
  336. 000004CC  4E75                     rts
  337. fn000004CE:
  338. 000004CE  4267                     clr.w      -[A7]
  339. 000004D0  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  340. 000004D4  2F0C                     move.l     -[A7], A4
  341. 000004D6  A8AD                     syscall    PtInRect
  342. 000004D8  101F                     move.b     D0, [A7]+
  343. 000004DA  4E75                     rts
  344. fn000004DC:
  345. 000004DC  1F3C 0000                move.b     -[A7], 0x0
  346. 000004E0  2F0C                     move.l     -[A7], A4
  347. 000004E2  A8A0                     syscall    StdRect
  348. 000004E4  4E75                     rts
  349. fn000004E6:
  350. 000004E6  1F3C 0002                move.b     -[A7], 0x2
  351. 000004EA  2F0C                     move.l     -[A7], A4
  352. 000004EC  A8A0                     syscall    StdRect
  353. 000004EE  4E75                     rts
  354. fn000004F0:
  355. 000004F0  1F3C 0003                move.b     -[A7], 0x3
  356. 000004F4  2F0C                     move.l     -[A7], A4
  357. 000004F6  A8A0                     syscall    StdRect
  358. 000004F8  4E75                     rts
  359. 000004FA  0000 0000                ori.b      D0, 0x0
  360. 000004FE  0000 0000                ori.b      D0, 0x0
  361. 00000502  0000 0000                ori.b      D0, 0x0
  362. 00000506  0000 0000                ori.b      D0, 0x0
  363. 0000050A  0000 0000                ori.b      D0, 0x0
  364.